//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import com.baidu.trace.api.entity.OnEntityListener;
import com.baidu.trace.c.e;
import com.baidu.trace.model.CoordType;
import com.baidu.trace.model.LatLng;
import com.baidu.trace.model.TraceLocation;

final class as extends OnEntityListener {
    as(ar var1) {
        this.a = var1;
        super();
    }

    public final void onReceiveLocation(TraceLocation var1) {
        if(0 == var1.getStatus()) {
            if(Math.abs(var1.getLongitude()) >= 0.1D && Math.abs(var1.getLatitude()) >= 0.1D && Math.abs(var1.getRadius()) >= 0.1D) {
                LatLng var2 = new LatLng(var1.getLatitude(), var1.getLongitude());
                long var3 = (var3 = e.c(var1.getTime())) > 0L?var3:e.b();
                ar.a(this.a, var2, var3, CoordType.bd09ll, var1.getRadius());
            }
        }
    }
}
